package com.yidu.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 
 * 类注释:模块管理类
 * @author wpy
 * 2018年11月27日上午10:43:28
 */
public class ListenModuleManage {
	/**
	 * 模块管理id(主键)
	 */
    private String mmId;

    /**
     * 上级模块管理id(外键)
     */
    private String lisMmId;
    
    /**
     * 上级模块管理名称
     */
    private String lisMmName;

    /**
     * 模块URL
     */
    private String mmUrl;

    /**
     * 模块名称
     */
    private String mmName;

    /**
     * 模块编码
     */
    private String mmEncoded;

    /**
     * 模块说明
     */
    private String mmExplain;

    /**
     * 是否有效
     */
    private Integer isva;

    /**
     * 操作时间
     */
    private Date openTime;

    /**
     * 操作人
     */
    private String oper;

    /**
     * 排序
     */
    private String sort;

    /**
     * 操作时间类型转换
     */
    private String openDate;
    
    private String mmIcon;
    

    public String getOpenDate() {
		return openDate;
	}

	public void setOpenDate(String openDate) {
		this.openDate = openDate;
	}
    
    public String getMmId() {
        return mmId;
    }

    public void setMmId(String mmId) {
        this.mmId = mmId == null ? null : mmId.trim();
    }

    public String getLisMmId() {
        return lisMmId;
    }

    public void setLisMmId(String lisMmId) {
        this.lisMmId = lisMmId == null ? null : lisMmId.trim();
    }
    
    public String getLisMmName() {
        return lisMmName;
    }

    public void setLisMmName(String lisMmName) {
        this.lisMmName = lisMmName == null ? null : lisMmName.trim();
    }

    public String getMmUrl() {
        return mmUrl;
    }

    public void setMmUrl(String mmUrl) {
        this.mmUrl = mmUrl == null ? null : mmUrl.trim();
    }

    public String getMmName() {
        return mmName;
    }

    public void setMmName(String mmName) {
        this.mmName = mmName == null ? null : mmName.trim();
    }

    public String getMmEncoded() {
        return mmEncoded;
    }

    public void setMmEncoded(String mmEncoded) {
        this.mmEncoded = mmEncoded == null ? null : mmEncoded.trim();
    }

    public String getMmExplain() {
        return mmExplain;
    }

    public void setMmExplain(String mmExplain) {
        this.mmExplain = mmExplain == null ? null : mmExplain.trim();
    }

    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
    	SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    	openDate = sdf.format(openTime);
        this.openTime = openTime;
    }

    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper == null ? null : oper.trim();
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort == null ? null : sort.trim();
    }

	public String getMmIcon() {
		return mmIcon;
	}

	public void setMmIcon(String mmIcon) {
		this.mmIcon = mmIcon;
	}
    
}